↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U5_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_GAA(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U5_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_GAA(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U5_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_GAA(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U5_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_GAA(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AG(s(Y)) → LESS_IN_AG(Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X)) → LESS_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
INSERT_IN_GAA(X) → U3_GAA(X, less_in_ag(X))
U3_GAA(X, less_out_ag(Y)) → INSERT_IN_GAA(X)
INSERT_IN_GAA(X) → U1_GAA(X, less_in_ga(X))
U1_GAA(X, less_out_ga) → INSERT_IN_GAA(X)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(less_in_ga(x0)))
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
INSERT_IN_GAA(X) → U3_GAA(X, less_in_ag(X))
U3_GAA(X, less_out_ag(Y)) → INSERT_IN_GAA(X)
U1_GAA(X, less_out_ga) → INSERT_IN_GAA(X)
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(less_in_ga(x0)))
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(less_in_ag(x0)))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ PrologToPiTRSProof
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(less_in_ag(x0)))
U3_GAA(X, less_out_ag(Y)) → INSERT_IN_GAA(X)
U1_GAA(X, less_out_ga) → INSERT_IN_GAA(X)
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(less_in_ga(x0)))
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
U1_GAA(0, less_out_ga) → INSERT_IN_GAA(0)
U1_GAA(s(z0), less_out_ga) → INSERT_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0))
U1_GAA(0, less_out_ga) → INSERT_IN_GAA(0)
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(less_in_ag(x0)))
U3_GAA(X, less_out_ag(Y)) → INSERT_IN_GAA(X)
U1_GAA(s(z0), less_out_ga) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(less_in_ga(x0)))
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ PrologToPiTRSProof
U1_GAA(0, less_out_ga) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ PrologToPiTRSProof
U1_GAA(0, less_out_ga) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonTerminationProof
↳ QDP
↳ PrologToPiTRSProof
U1_GAA(0, less_out_ga) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
U1_GAA(0, less_out_ga) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ PrologToPiTRSProof
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(less_in_ag(x0)))
U3_GAA(X, less_out_ag(Y)) → INSERT_IN_GAA(X)
U1_GAA(s(z0), less_out_ga) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(less_in_ga(x0)))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
U3_GAA(s(z0), less_out_ag(0)) → INSERT_IN_GAA(s(z0))
U3_GAA(s(z0), less_out_ag(x1)) → INSERT_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0))
U3_GAA(s(z0), less_out_ag(0)) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(less_in_ag(x0)))
U3_GAA(s(z0), less_out_ag(x1)) → INSERT_IN_GAA(s(z0))
U1_GAA(s(z0), less_out_ga) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(less_in_ga(x0)))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0)
U5_ag(x0)
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0))
U3_GAA(s(z0), less_out_ag(0)) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(less_in_ag(x0)))
U3_GAA(s(z0), less_out_ag(x1)) → INSERT_IN_GAA(s(z0))
U1_GAA(s(z0), less_out_ga) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(less_in_ga(x0)))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U5_ga(less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0)
less_in_ag(s(Y)) → U5_ag(less_in_ag(Y))
U5_ga(less_out_ga) → less_out_ga
U5_ag(less_out_ag(X)) → less_out_ag(s(X))
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U5_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_GAA(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U5_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_GAA(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U5_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_GAA(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → LESS_IN_AG(Y, X)
LESS_IN_AG(s(X), s(Y)) → U5_AG(X, Y, less_in_ag(X, Y))
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_GAA(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LESS_IN_AG(s(X), s(Y)) → LESS_IN_AG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
LESS_IN_AG(s(Y)) → LESS_IN_AG(Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
LESS_IN_GA(s(X)) → LESS_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
insert_in_gaa(X, void, tree(X, void, void)) → insert_out_gaa(X, void, tree(X, void, void))
insert_in_gaa(X, tree(X, Left, Right), tree(X, Left, Right)) → insert_out_gaa(X, tree(X, Left, Right), tree(X, Left, Right))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_gaa(X, Y, Left, Right, Left1, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U1_gaa(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → U2_gaa(X, Y, Left, Right, Left1, insert_in_gaa(X, Left, Left1))
insert_in_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_gaa(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
U3_gaa(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → U4_gaa(X, Y, Left, Right, Right1, insert_in_gaa(X, Right, Right1))
U4_gaa(X, Y, Left, Right, Right1, insert_out_gaa(X, Right, Right1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left, Right1))
U2_gaa(X, Y, Left, Right, Left1, insert_out_gaa(X, Left, Left1)) → insert_out_gaa(X, tree(Y, Left, Right), tree(Y, Left1, Right))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left1, Right)) → U1_GAA(X, Y, Left, Right, Left1, less_in_ga(X, Y))
U1_GAA(X, Y, Left, Right, Left1, less_out_ga(X, Y)) → INSERT_IN_GAA(X, Left, Left1)
U3_GAA(X, Y, Left, Right, Right1, less_out_ag(Y, X)) → INSERT_IN_GAA(X, Right, Right1)
INSERT_IN_GAA(X, tree(Y, Left, Right), tree(Y, Left, Right1)) → U3_GAA(X, Y, Left, Right, Right1, less_in_ag(Y, X))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U5_ga(X, Y, less_in_ga(X, Y))
less_in_ag(0, s(X)) → less_out_ag(0, s(X))
less_in_ag(s(X), s(Y)) → U5_ag(X, Y, less_in_ag(X, Y))
U5_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_ag(X, Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
U3_GAA(X, less_out_ag(Y, X)) → INSERT_IN_GAA(X)
U1_GAA(X, less_out_ga(X)) → INSERT_IN_GAA(X)
INSERT_IN_GAA(X) → U3_GAA(X, less_in_ag(X))
INSERT_IN_GAA(X) → U1_GAA(X, less_in_ga(X))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(x0, less_in_ga(x0)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
U3_GAA(X, less_out_ag(Y, X)) → INSERT_IN_GAA(X)
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(x0, less_in_ga(x0)))
U1_GAA(X, less_out_ga(X)) → INSERT_IN_GAA(X)
INSERT_IN_GAA(X) → U3_GAA(X, less_in_ag(X))
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(x0, less_in_ag(x0)))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0, s(x0)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(x0, less_in_ag(x0)))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0, s(x0)))
U3_GAA(X, less_out_ag(Y, X)) → INSERT_IN_GAA(X)
U1_GAA(X, less_out_ga(X)) → INSERT_IN_GAA(X)
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(x0, less_in_ga(x0)))
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
U1_GAA(0, less_out_ga(0)) → INSERT_IN_GAA(0)
U1_GAA(s(z0), less_out_ga(s(z0))) → INSERT_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(x0, less_in_ag(x0)))
U1_GAA(0, less_out_ga(0)) → INSERT_IN_GAA(0)
U3_GAA(X, less_out_ag(Y, X)) → INSERT_IN_GAA(X)
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0, s(x0)))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(x0, less_in_ga(x0)))
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
U1_GAA(s(z0), less_out_ga(s(z0))) → INSERT_IN_GAA(s(z0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
U1_GAA(0, less_out_ga(0)) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
U1_GAA(0, less_out_ga(0)) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonTerminationProof
↳ QDP
U1_GAA(0, less_out_ga(0)) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
U1_GAA(0, less_out_ga(0)) → INSERT_IN_GAA(0)
INSERT_IN_GAA(0) → U1_GAA(0, less_out_ga(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(x0, less_in_ag(x0)))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0, s(x0)))
U3_GAA(X, less_out_ag(Y, X)) → INSERT_IN_GAA(X)
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(x0, less_in_ga(x0)))
U1_GAA(s(z0), less_out_ga(s(z0))) → INSERT_IN_GAA(s(z0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
U3_GAA(s(z0), less_out_ag(0, s(z0))) → INSERT_IN_GAA(s(z0))
U3_GAA(s(z0), less_out_ag(x1, s(z0))) → INSERT_IN_GAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(x0, less_in_ag(x0)))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0, s(x0)))
U3_GAA(s(z0), less_out_ag(0, s(z0))) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(x0, less_in_ga(x0)))
U3_GAA(s(z0), less_out_ag(x1, s(z0))) → INSERT_IN_GAA(s(z0))
U1_GAA(s(z0), less_out_ga(s(z0))) → INSERT_IN_GAA(s(z0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))
less_in_ga(x0)
less_in_ag(x0)
U5_ga(x0, x1)
U5_ag(x0, x1)
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), U5_ag(x0, less_in_ag(x0)))
INSERT_IN_GAA(s(x0)) → U3_GAA(s(x0), less_out_ag(0, s(x0)))
U3_GAA(s(z0), less_out_ag(0, s(z0))) → INSERT_IN_GAA(s(z0))
INSERT_IN_GAA(s(x0)) → U1_GAA(s(x0), U5_ga(x0, less_in_ga(x0)))
U3_GAA(s(z0), less_out_ag(x1, s(z0))) → INSERT_IN_GAA(s(z0))
U1_GAA(s(z0), less_out_ga(s(z0))) → INSERT_IN_GAA(s(z0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U5_ga(X, less_in_ga(X))
less_in_ag(s(X)) → less_out_ag(0, s(X))
less_in_ag(s(Y)) → U5_ag(Y, less_in_ag(Y))
U5_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U5_ag(Y, less_out_ag(X, Y)) → less_out_ag(s(X), s(Y))